<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>商城高并发抢购-用户登录</title>

    <link th:href="@{/statics/plugins/bootstrap-3.3.0/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/statics/plugins/bootstrap-3.3.0/css/bootstrap-theme.min.css}" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h1 align="center">这是用户登录页</h1>

            <form th:action="@{/login}" method="post">
                <table align="center" border="0">
                    <tr>
                        <td>用户名:</td>
                        <td><input type="text" name="username"></td>
                    </tr>
                    <br/>
                    <tr>
                        <td>密&nbsp;&nbsp;码:</td>
                        <td><input type="password" name="password"></td>
                    </tr>
                    <tr>
                        <td><input type="submit" value="登录" name="login"></td>
                        <td><input type="reset" value="重置" name="reset"></td>
                    </tr>
                </table>
            </form>

            <h2 align="center">${username}&nbsp;&nbsp;&nbsp;${errorMsg}</h2>
        </div>
    </div>
</div>
</body>
<script src="/statics/plugins/jquery.js"></script>
<script src="/statics/plugins/bootstrap-3.3.0/js/bootstrap.min.js"></script>
<script src="/statics/plugins/jquery.cookie.min.js"></script>
<script src="/statics/plugins/jquery.countdown.min.js"></script>
</html>